Skip to content

[libunwind] Tweak tests for musl support. - #8289

Closed
al45tair wants to merge 1 commit into
swiftlang:stable/20240123from
al45tair:eng/PR-123436891-20240123
Closed

[libunwind] Tweak tests for musl support.#8289
al45tair wants to merge 1 commit into
swiftlang:stable/20240123from
al45tair:eng/PR-123436891-20240123

Conversation

@al45tair

Copy link
Copy Markdown

We can't use dladdr() in the tests, because when we're statically linking with musl that function is a no-op.

Additionally, because musl disables emission of unwind information in its build, and because its signal trampolines don't include unwind information, tests that involve unwinding through a signal handler won't work and need to be disabled for musl.

rdar://123436891

We can't use `dladdr()` in the tests, because when we're statically
linking with musl that function is a no-op.

Additionally, because musl disables emission of unwind information
in its build, and because its signal trampolines don't include
unwind information, tests that involve unwinding through a signal
handler won't work and need to be disabled for musl.

rdar://123436891
@al45tair

Copy link
Copy Markdown
Author

This is a cherry pick of #8260.

@al45tair

al45tair commented Jun 6, 2024

Copy link
Copy Markdown
Author

This isn't needed here any more.

@al45tair al45tair closed this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant